package org.zjz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zjz.dao.DiningDao;
import org.zjz.pojo.Board;
import org.zjz.pojo.Boardstate;
import org.zjz.pojo.Boardtype;
import org.zjz.pojo.Canpin;
import org.zjz.pojo.Type;
import org.zjz.service.DiningService;

@Service("diningService")
public class DiningServiceImpl implements DiningService {
	@Autowired
	private DiningDao diningDao;
	
	public List<Board> selBoard(Board board) {
		return diningDao.selBoard(board);
	}

	public List<Boardstate> selBoardstate() {
		return diningDao.selBoardstate();
	}

	public List<Boardtype> selBoardtype() {
		return diningDao.selBoardtype();
	}

	public Integer addBoard(Board board) {
		return diningDao.addBoard(board);
	}

	public Integer delBoard(Integer integer) {
		return diningDao.delBoard(integer);
	}

	public List<Canpin> selCanpin(Canpin canpin) {
		return diningDao.selCanpin(canpin);
	}

	public List<Type> selType() {
		return diningDao.selType();
	}

}
